Skip to content

Skip creation of OwnerReference if user is in a different namespace#2912

Merged
FxKu merged 1 commit intozalando:masterfrom
nais:skip-ownerreference-for-prepareddatabase-secret-namespace
Sep 17, 2025
Merged

Skip creation of OwnerReference if user is in a different namespace#2912
FxKu merged 1 commit intozalando:masterfrom
nais:skip-ownerreference-for-prepareddatabase-secret-namespace

Conversation

@mortenlj
Copy link
Copy Markdown
Contributor

Instead of doing a string compare on the username, check the actual namespace of the user to determine if an owner reference can be created.

I believe this should fix #2910

@zalando-robot
Copy link
Copy Markdown

Cannot start a pipeline due to:

No accountable user for this pipeline: no Zalando employee associated to this GitHub username

Click on pipeline status check Details link below for more information.

Instead of doing a string compare on the username, check the actual namespace of the user to determine if an owner reference can be created.
@zalando-robot
Copy link
Copy Markdown

Cannot start a pipeline due to:

No accountable user for this pipeline: no Zalando employee associated to this GitHub username

Click on pipeline status check Details link below for more information.

@FxKu FxKu added this to the 1.15.0 milestone Jul 15, 2025
@FxKu FxKu added the bugfix label Jul 15, 2025
@FxKu FxKu moved this to Good state for merge in Postgres Operator Jul 15, 2025
@FxKu
Copy link
Copy Markdown
Member

FxKu commented Jul 15, 2025

👍

1 similar comment
@idanovinda
Copy link
Copy Markdown
Member

👍

@FxKu FxKu merged commit ad7e590 into zalando:master Sep 17, 2025
7 checks passed
@github-project-automation github-project-automation Bot moved this from Good state for merge to Done in Postgres Operator Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Operator fails to create secret in separate namespace when using ownerReferences and preparedDatabases

4 participants